<div class="content">
		<div class="info-title">资源列表</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span3" style="border:1px solid #E5E5E5;height:584px">
					<ul class="nav nav-list">
						<li class="nav-header" style="font-size:20px;padding-top:15px">学科</li>
						<li class="divider"></li>
						<li class=""><a href="/EECloud/index.php/publishres/main">语文</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/publishres/publishres/main">数学</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/publishres/publishres/main">物理</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/publishres/publishres/main">化学</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/publishres/publishres/main">生物</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/publishres/publishres/main">地理</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/publishres/publishres/main">历史</a></li>
						<!-- <li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/interests">兴趣爱好</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/education">教育背景</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/career">工作信息</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/portrait">头像设置</a></li> -->
						<li class="divider"></li>
						<li class="nav-header" style="font-size:20px">其他资源</li>

					</ul>
				</div>
				<div class="span9" style="">
<div class="content-title">公共资源信息</div>
<div class="info-content">
	<table class="info" cellpadding="5px">
		<tr>
			<td>资源名称：</td>
			<input id="res_id" type="hidden" name="res_id" value="<?=$res_info['resource_id']?>" />
			<td><input type="text" value="<?=$res_info['resource_title']?>" readonly></td>
		</tr>
		<tr>
			<td>资源类型：</td>
			<td>
				<input type="text" value="<?=$res_info['resource_type']?>" readonly>
			</td>
		</tr>
		<tr>
			<td>资源介绍：</td>
			<td><textarea style="width:350px;height:138px;resize:none" readonly><?=$res_info['resource_description']?></textarea></td>
		</tr>
		<tr>
			<td>适用人群：</td>
			<td>
				<input type="text" value="<?=$res_info['resource_suit']?>" readonly>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><a href="javascript:void(0);" id="download_res" class="btn btn-primary">下载资源</a></td>
		</tr>
	</table>	
</div>
<script type="text/javascript">
	$('#download_res').click(function(){
		//var id = $('#res_id').val();
		id = 29;

		window.location.href ='/EECloud/index.php/ring/do_download?rId=' + id;;
	});	
</script>